package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderCustomer;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderCustomerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityGoodsOrderCustomerMapper {
    long countByExample(EstateProjectActivityGoodsOrderCustomerExample example);

    int deleteByExample(EstateProjectActivityGoodsOrderCustomerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EstateProjectActivityGoodsOrderCustomer record);

    int insertSelective(@Param("record") EstateProjectActivityGoodsOrderCustomer record, @Param("selective") EstateProjectActivityGoodsOrderCustomer.Column ... selective);

    EstateProjectActivityGoodsOrderCustomer selectOneByExample(EstateProjectActivityGoodsOrderCustomerExample example);

    List<EstateProjectActivityGoodsOrderCustomer> selectByExample(EstateProjectActivityGoodsOrderCustomerExample example);

    EstateProjectActivityGoodsOrderCustomer selectByPrimaryKey(Integer id);

    EstateProjectActivityGoodsOrderCustomer selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityGoodsOrderCustomer record, @Param("example") EstateProjectActivityGoodsOrderCustomerExample example, @Param("selective") EstateProjectActivityGoodsOrderCustomer.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityGoodsOrderCustomer record, @Param("example") EstateProjectActivityGoodsOrderCustomerExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityGoodsOrderCustomer record, @Param("selective") EstateProjectActivityGoodsOrderCustomer.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityGoodsOrderCustomer record);

    int batchInsert(@Param("list") List<EstateProjectActivityGoodsOrderCustomer> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityGoodsOrderCustomer> list, @Param("selective") EstateProjectActivityGoodsOrderCustomer.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityGoodsOrderCustomerExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}